package com.muyan.countdownlatch;

public class CountDownLatchDemo {

	public static void main(String[] args) {
		Timer timer = new Timer(5);
		new Thread(timer).start();
		for (int athleteNo = 0; athleteNo < 5; athleteNo++) {
			new Thread(new Athlete(timer, "athlete" + athleteNo)).start();
		}
	}
}
